package org.web2024.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.web2024.dao.Course;
import org.web2024.dao.Teachar;
import java.util.HashMap;
import java.util.List;

@Mapper
public interface TeacherMapper {
//    教师调用的
    List<Course> selectTeacherCourse(String tno, String selCyear);
    Teachar showTeacherInfo(String sno);
    boolean modifyTeacherInfo(Teachar teacher);

//    管理员调用的
    Teachar showTeaInfo(String t_no);
    boolean admModifyTeaInfo(Teachar teacher);
    List<Course> teaCourseInfo(HashMap<String,String>data);


}
